package cn.yqx.bankshop.order.service;


import cn.yqx.bankshop.order.service.fallback.UserServiceFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value="bankshop-user-service", fallback = UserServiceFallbackFactory.class)
public interface UserService {
    @GetMapping(value = "/api/v1/user/find-userinfo-by-userid")
    Object findUserInfoByUserId(@RequestParam("userId") Long userId);
}
